package com.example.demo.controller.resp;

import lombok.Data;

@Data
public class UserResp {

    private boolean isActive;

    public static UserResp active() {
        UserResp resp = new UserResp();
        resp.setActive(true);
        return resp;
    }

    public static UserResp inactive() {
        UserResp resp = new UserResp();
        resp.setActive(false);
        return resp;
    }
}
